PhpOffice\PhpSpreadsheet\Spreadsheet D

Total Complexity 205
Dependencies 20
Dependents 53
Total lines 1,674
Lines of code 670
Logical lines of code 344
Comment lines 549
Methods 98
Properties 25

Methods 98

Method Rating Maintainability Complexity Lines of code
garbageCollect()
B
42 17 52
getRibbonBinObjects()
A
52 10 26
addExternalSheet()
S
51 7 24
resetThemeFonts()
S
55 7 20
addSheet()
S
52 6 27
removeCellXfByIndex()
S
56 6 17
getRibbonXMLData()
S
59 5 16
removeSheetByIndex()
S
58 5 15
removeDefinedName()
S
59 5 15
getDefinedName()
S
60 5 13
reevaluateAutoFilters()
S
63 4 11
getNamedRange()
S
64 4 9
getLocalDefinedNameByType()
S
64 4 9
getNamedFormula()
S
64 4 9
setRibbonBinObjects()
S
68 3 7
getCellXfByHashCode()
S
67 3 8
getSheetByName()
S
64 3 9
getIndex()
S
66 3 8
getCellStyleXfByHashCode()
S
67 3 8
setRibbonXMLData()
S
68 3 7
getSheetByCodeName()
S
65 3 9
setTabRatio()
S
68 3 7
getGlobalDefinedNameByType()
S
70 3 6
setVisibility()
S
64 3 10
addDefinedName()
S
66 2 8
getSheetNames()
S
66 2 8
setActiveSheetIndexByName()
S
68 2 7
setActiveSheetIndex()
S
64 2 10
setIndexByName()
S
61 1 15
getSheetByNameOrThrow()
S
68 2 7
removeNamedRange()
S
70 2 6
removeNamedFormula()
S
70 2 6
getDefaultStyle()
S
71 2 6
getSheet()
S
65 2 9
removeCellStyleXfByIndex()
S
70 2 6
__construct()
S
58 1 15
setFirstSheetIndex()
S
69 2 7
disconnectWorksheets()
S
69 2 7
copy()
S
63 1 11
setShowHorizontalScroll()
S
80 1 3
getShowHorizontalScroll()
S
82 1 3
getTabRatio()
S
82 1 3
getVisibility()
S
82 1 3
getID()
S
82 1 3
getFirstSheetIndex()
S
82 1 3
getSharedComponent()
S
81 1 3
setAutoFilterDateGrouping()
S
80 1 3
getAutoFilterDateGrouping()
S
82 1 3
setMinimized()
S
80 1 3
getMinimized()
S
82 1 3
addCellStyleXf()
S
75 1 4
addCellXf()
S
75 1 4
__serialize()
S
80 1 3
getCellXfSupervisor()
S
82 1 3
getCellStyleXfCollection()
S
82 1 3
getCellStyleXfByIndex()
S
80 1 3
jsonSerialize()
S
80 1 3
setShowSheetTabs()
S
80 1 3
getShowSheetTabs()
S
82 1 3
setShowVerticalScroll()
S
80 1 3
getShowVerticalScroll()
S
82 1 3
cellXfExists()
S
79 1 3
getTheme()
S
82 1 3
getCellXfByIndex()
S
80 1 3
getUnparsedLoadedData()
S
82 1 3
__destruct()
S
71 1 6
sheetCodeNameExists()
S
79 1 3
hasRibbonBinObjects()
S
80 1 3
hasRibbon()
S
80 1 3
getExtensionOnly()
S
75 1 4
setUnparsedLoadedData()
S
81 1 3
discardMacros()
S
74 1 5
getProperties()
S
82 1 3
getMacrosCertificate()
S
82 1 3
hasMacrosCertificate()
S
80 1 3
setMacrosCertificate()
S
81 1 3
getMacrosCode()
S
82 1 3
setMacrosCode()
S
76 1 4
setHasMacros()
S
80 1 3
getCalculationEngine()
S
82 1 3
setProperties()
S
81 1 3
getCellXfCollection()
S
82 1 3
getNamedRanges()
S
69 1 8
__clone()
S
76 1 5
getWorksheetIterator()
S
80 1 3
hasMacros()
S
82 1 3
addNamedRange()
S
81 1 3
getDefinedNames()
S
82 1 3
getNamedFormulae()
S
69 1 8
getActiveSheetIndex()
S
82 1 3
getSecurity()
S
82 1 3
getSheetCount()
S
80 1 3
getAllSheets()
S
82 1 3
sheetNameExists()
S
79 1 3
createSheet()
S
73 1 5
getActiveSheet()
S
80 1 3
setSecurity()
S
81 1 3
addNamedFormula()
S
81 1 3